package com.juzi.xunhuan_dowhile;

public class DoWhileDemo1 {
    public static class DoWhileDemo7 {
        public static void main(String[] args) {
            //目标：学会使用dowhile循环 并理解执行流程
            int i = 0;
            do {
                System.out.println("Hello World");
                i++;
            }while ( i < 3);

            System.out.println("-------------------");
            for (int j = 0; j <3; j++) {
                System.out.println("Hello World");
            }
        }
    }
}
